home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / devtools / automake-1.0.tar.gz / automake-1.0.tar / automake-1.0 / tests / depend.test < prev    next >
Text File  |  1996-03-02  |  540b  |  22 lines

  1. #! /bin/sh
  2.  
  3. # This tests for a bug reported by Henrik Frystyk Nielsen <frystyk@w3.org>
  4. # In some cases the auto-dependency can get confused and try
  5. # to `-include' a directory.
  6. # This actually tests for two bugs:
  7. # * A configure substitution in _SOURCES incorrectly ends up in DEP_FILES
  8. # * A backslash-newline in _SOURCES causes just the directory to
  9. #   appear in DEP_FILES.
  10.  
  11. . $srcdir/defs || exit 1
  12.  
  13. cat > Makefile.am << 'END'
  14. bin_PROGRAMS = fred
  15. fred_SOURCES = \
  16.    @BLATT@
  17. END
  18.  
  19. $AUTOMAKE || exit 1
  20.  
  21. grep '^DEP_FILES = *$' Makefile.in
  22.